package qnb.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 管理员后台权限表实体类
 *
 * @author
 */
public class SysPower {

    private Integer sysPowerId;        //自增id
    private Integer sysPowerPid;        //管理员权限id
    private String sysPowerName;        //管理员权限名称
    private Integer sysPowerCode;        //1=查询；2表示删除
    private String sysPowerUrl;        //权限关联的路径 还是 虚拟路径0
    private Boolean sysPowerStyle;        //权限状态

    private List<SysPower> children;

    public List<SysPower> getChildren() {
        return children != null ? children : new ArrayList<>();
    }

    public void setChildren(List<SysPower> children) {
        this.children = children;
    }

    public Integer getSysPowerId() {
        return sysPowerId;
    }

    public void setSysPowerId(Integer sysPowerId) {
        this.sysPowerId = sysPowerId;
    }

    public Integer getSysPowerPid() {
        return sysPowerPid;
    }

    public void setSysPowerPid(Integer sysPowerPid) {
        this.sysPowerPid = sysPowerPid;
    }

    public String getSysPowerName() {
        return sysPowerName;
    }

    public void setSysPowerName(String sysPowerName) {
        this.sysPowerName = sysPowerName;
    }

    public Integer getSysPowerCode() {
        return sysPowerCode;
    }

    public void setSysPowerCode(Integer sysPowerCode) {
        this.sysPowerCode = sysPowerCode;
    }

    public String getSysPowerUrl() {
        return sysPowerUrl;
    }

    public void setSysPowerUrl(String sysPowerUrl) {
        this.sysPowerUrl = sysPowerUrl;
    }

    public Boolean getSysPowerStyle() {
        return sysPowerStyle;
    }

    public void setSysPowerStyle(Boolean sysPowerStyle) {
        this.sysPowerStyle = sysPowerStyle;
    }
}
